package com.wonghiu.consumer;

import com.wonghiu.api.HelloService;
import com.wonghiu.framework.service.annotation.HRpcReference;
import org.springframework.stereotype.Component;

/**
 * @Author wonghiu
 * @Date 2021/8/11 17:43
 * @Version 1.0.1
 */
@Component
public class HelloTest {
    @HRpcReference
    private HelloService helloService;

    public void check(){
        System.out.println(helloService.sayHello());
    }
}
